package panels;

import home.Home;

import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.html.panel.Panel;

@SuppressWarnings("serial")
public abstract class MyPanel extends Panel{

	private Home home;
	
	public MyPanel(String id, Home home) {
		super(id);
		this.home = home;
	}

	public Home getHome() {
		return home;
	}

	public void setHome(Home home) {
		this.home = home;
	}

	public abstract void changePanel(AjaxRequestTarget target);

}
